<?php
if (!defined('ZOTOP')) exit();
//000000000000
return array (
  'id' => 
  array (
    'name' => 'id',
    'type' => 'int',
    'length' => '10',
    'null' => 'NO',
    'key' => 'PRI',
    'default' => NULL,
    'collation' => NULL,
    'extra' => '',
    'comment' => '用户ID',
  ),
  'username' => 
  array (
    'name' => 'username',
    'type' => 'varchar',
    'length' => '32',
    'null' => 'NO',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '用户账号',
  ),
  'password' => 
  array (
    'name' => 'password',
    'type' => 'varchar',
    'length' => '32',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '用户密码',
  ),
  'question' => 
  array (
    'name' => 'question',
    'type' => 'varchar',
    'length' => '100',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '安全问题',
  ),
  'answer' => 
  array (
    'name' => 'answer',
    'type' => 'varchar',
    'length' => '100',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '安全答案',
  ),
  'groupid' => 
  array (
    'name' => 'groupid',
    'type' => 'int',
    'length' => '6',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => NULL,
    'extra' => '',
    'comment' => '用户组',
  ),
  'modelid' => 
  array (
    'name' => 'modelid',
    'type' => 'varchar',
    'length' => '32',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '用户模型编号',
  ),
  'logintime' => 
  array (
    'name' => 'logintime',
    'type' => 'int',
    'length' => '10',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => NULL,
    'extra' => '',
    'comment' => '最后登录时间',
  ),
  'loginip' => 
  array (
    'name' => 'loginip',
    'type' => 'char',
    'length' => '15',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '最后登录ip',
  ),
  'loginnum' => 
  array (
    'name' => 'loginnum',
    'type' => 'int',
    'length' => '6',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => NULL,
    'extra' => '',
    'comment' => '登录次数',
  ),
  'status' => 
  array (
    'name' => 'status',
    'type' => 'tinyint',
    'length' => '1',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => NULL,
    'extra' => '',
    'comment' => '用户状态',
  ),
  'updatetime' => 
  array (
    'name' => 'updatetime',
    'type' => 'int',
    'length' => '10',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => NULL,
    'extra' => '',
    'comment' => '更新时间',
  ),
  'createtime' => 
  array (
    'name' => 'createtime',
    'type' => 'int',
    'length' => '10',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => NULL,
    'extra' => '',
    'comment' => '注册时间',
  ),
  'name' => 
  array (
    'name' => 'name',
    'type' => 'varchar',
    'length' => '64',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '用户姓名',
  ),
  'gender' => 
  array (
    'name' => 'gender',
    'type' => 'char',
    'length' => '10',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '用户性别',
  ),
  'image' => 
  array (
    'name' => 'image',
    'type' => 'varchar',
    'length' => '100',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '用户头像',
  ),
  'email' => 
  array (
    'name' => 'email',
    'type' => 'varchar',
    'length' => '100',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '电子邮件',
  ),
  'sign' => 
  array (
    'name' => 'sign',
    'type' => 'varchar',
    'length' => '200',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '用户签名',
  ),
  'data' => 
  array (
    'name' => 'data',
    'type' => 'text',
    'length' => '',
    'null' => 'YES',
    'key' => '',
    'default' => NULL,
    'collation' => 'utf8_general_ci',
    'extra' => '',
    'comment' => '额外数据',
  ),
);
?>